using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace TTCN_QLDiemC3
{
    public partial class ThongKeDiemHKTheoLopReport : DevExpress.XtraReports.UI.XtraReport
    {
        public ThongKeDiemHKTheoLopReport()
        {
            InitializeComponent();
        }

        public void Load(String namhoc, String ky, String khoi, String lop, String monhoc)
        {
            xrlblNamHoc.Text = namhoc;
            xrlblKy.Text = ky;
            xrlblKhoi.Text = khoi;
            xrlblLop.Text = lop;
            xrlblMonHoc.Text = monhoc;
            xrMaHS.DataBindings.Add("Text", DataSource, "id_Lop");
            xrTenHS.DataBindings.Add("Text", DataSource, "HoTenHS");
            xrNgaySinh.DataBindings.Add("Text", DataSource, "NgaySinh");
            xrDiemMieng.DataBindings.Add("Text", DataSource, "DiemMieng");
            xrDiem15Phut.DataBindings.Add("Text", DataSource, "Diem15Phut");
            xrDiem1Tiet.DataBindings.Add("Text", DataSource, "Diem1Tiet");
            xrDiemHocKy.DataBindings.Add("Text", DataSource, "DiemHocKy");
            xrDiemTongKet.DataBindings.Add("Text", DataSource, "DiemTongKet");
        }

    }
}
